package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存预先盘点单明细对象 tbl_pre_take_stock_sheet_detail
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class TblPreTakeStockSheetDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 预先盘点单ID */
    @Excel(name = "预先盘点单ID")
    private String sheetId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String productId;

    /** 初盘数量 */
    @Excel(name = "初盘数量")
    private Long firstNum;

    /** 复盘数量 */
    @Excel(name = "复盘数量")
    private Long secondNum;

    /** 抽盘数量 */
    @Excel(name = "抽盘数量")
    private Long randNum;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNo;


    //商品
    private BaseDataProduct baseDataProduct;

    public BaseDataProduct getBaseDataProduct() {
        return baseDataProduct;
    }

    public void setBaseDataProduct(BaseDataProduct baseDataProduct) {
        this.baseDataProduct = baseDataProduct;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSheetId(String sheetId) 
    {
        this.sheetId = sheetId;
    }

    public String getSheetId() 
    {
        return sheetId;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setFirstNum(Long firstNum) 
    {
        this.firstNum = firstNum;
    }

    public Long getFirstNum() 
    {
        return firstNum;
    }
    public void setSecondNum(Long secondNum) 
    {
        this.secondNum = secondNum;
    }

    public Long getSecondNum() 
    {
        return secondNum;
    }
    public void setRandNum(Long randNum) 
    {
        this.randNum = randNum;
    }

    public Long getRandNum() 
    {
        return randNum;
    }
    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sheetId", getSheetId())
            .append("productId", getProductId())
            .append("firstNum", getFirstNum())
            .append("secondNum", getSecondNum())
            .append("randNum", getRandNum())
            .append("orderNo", getOrderNo())
            .toString();
    }
}
